package de.fhhannover.inform.hnefatafl.gui;

import de.fhhannover.inform.hnefatafl.vorgaben.BoardContent;
import de.fhhannover.inform.hnefatafl.vorgaben.Cell;

public class GUIField implements Cell{
	
	int col;
	int row;
	BoardContent content;
	
	public GUIField(int col, int row){
		this.col = col;
		this.row = row;
	}
	
	public GUIField(int col, int row, BoardContent content){
		this.col = col;
		this.row = row;
		this.content = content;
	}

	@Override
	public int getCol() {
		return col;
	}

	@Override
	public int getRow() {
		return row;
	}

	@Override
	public BoardContent getContent() {
		return content;
	}
	
	@Override
	public String toString(){
		return String.format("["+col+", "+row+"]");
	}

}
